package com.knowledge.review.designPatterns.behavioralpattern.chainofresponsibilitypattern.demo5;

/**
 * @author XFW
 * @date 2024/5/9 15:18
 * @Description 创建财务审批类
 **/
public class MultiplyHandler extends AbstractHandler<NumberValue> {

    @Override
    protected void doHandler(NumberValue data) {
        System.out.println("财务已审批");
        // 根据业务判断是否需要到下一链
        nextHandler.doHandler(data);
    }
}
